package com.zucc.controller.req;

import com.zucc.service.base.PageNum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-23 5:38 下午
 */
@Data
@ApiModel("查询设备参数")
public class DeviceSearchReq extends PageNum {

    @ApiModelProperty(value = "分类号")
    private String categoryNumber;

    @ApiModelProperty(value = "设备号")
    private String deviceNumber;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "型号")
    private String model;

    @ApiModelProperty(value = "规格")
    private String specifications;

    @ApiModelProperty(value = "购买日期,yyyy-MM-dd")
    private String buyDate;

    @ApiModelProperty(value = "报废日期,yyyy-MM-dd")
    private String scrapDate;

    @ApiModelProperty(value = "领用单位")
    private String useUnit;

    @ApiModelProperty(value = "领用人编号")
    private Long userId;

    @ApiModelProperty(value = "原存放地址")
    private String oldAddress;

    @ApiModelProperty(value = "现存放地址")
    private String newAddress;

    @ApiModelProperty(value = "来源，0:购买，1:历史导入，2:盘盈")
    private Integer source;

    @ApiModelProperty(value = "状态，0:正常，1:报废，2:盘亏，3:丢损")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "审批状态，0:审批中，1:通过，2：驳回")
    private Integer approvalStatus;
}
